from django.db import models

class BaseModel(models.Model):
    """
    基类模型
    """
    create_time = models.DateTimeField('创建时间', auto_now_add=True)
    update_time = models.DateTimeField('更新时间', auto_now=True)

    class Meta:
        """
        抽象模型类,用于继承
        """
        abstract = True